/**
 * Created by sunxyz on 2017/3/4.
 */
var vue_app = new Vue({
    el: '#app',
    data: {
        name:'',
        folderSet: [],
        siteSet: [],
        progress: '45%',
        progress_num: 0
    }, created: function () {
        var _this = this;
    },
    methods: {
        changeProgress: function () {
            this.progress_num += 10;
            this.progress = this.progress_num + "%";
        },
        progress: function () {
            console.log('-----')
            for (var i = 0; i < 10; i++) {
                setTimeout(this.changeProgress, 100 * i);
            }
        },
        change:function(){
            console.log("-------")
        }
    }
})